package com.lsu.app.mapper;

import com.lsu.app.bean.Notice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Set;

/**
 *
 * @description 针对表【notice(通知表)】的数据库操作Mapper
 * @Date 2023-10-25 18:02:19
 * @author hjj
 */
@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {
    @Select("select relate_id from notice where target_id=#{courseId}")
    Set<Integer> getStudentIdsByCourseId(Integer courseId);//获取 所有反馈信息的学员id
}




